package com.ruoyi.generator.mapper;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.generator.domain.GenTableColumn;
import com.ruoyi.generator.po.*;

import java.util.List;

/**
 * 业务字段 数据层
 * 
 * @author ruoyi
 */
public interface InspectionMapper
{
    List<WushuiShift> selectScheduleList();

    void saveEdit(WushuiShift wushuiShift);

    long selectScheduleId(String period);

    List<WushuiShift> selectDefaultShifts(long scheduleId);

    void deleteScheduleShifts(long scheduleId);

    void save(WushuiShift wushuiShift);

    List<Device> selectDeviceList(Device device);

    List<WushuiSchedule> getSchedules();


    int addCheckingPlan(SpotCheckPlan spotCheckPlan);

    List<SpotCheckPlan> getPlan(String planName);

    SpotCheckPlan getPlanById(SpotCheckPlan spotCheckPlan);

    int inspectionRecordUpload(InspectionRecord inspectionRecord);

    void updatePlan(SpotCheckPlan plan);

    int faultDeclaration(FaultDeclaration faultDeclaration);

    List<FaultDeclaration> getFaultDeclaration();
    List<InspectionRecord> getInspectionRecord();
}
